﻿@model OSBLE.Models.Courses.AssessmentCommittee
@using OSBLE.Models

@{
    ViewBag.Title = "Create Assessment Committee";
}

<h2>Create Assessment Committee</h2>

<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>

@using (Html.BeginForm())
{
    @Html.ValidationSummary(true)

        <div class="editor-label">
            @Html.LabelFor(model => model.Name, "Assessment Committee Name")
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Name)
            @Html.ValidationMessageFor(model => model.Name)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.Description)
        </div>
        <div class="editor-field">
            @Html.TextAreaFor(model => model.Description, new { rows = 5, cols = 60 })
            @Html.ValidationMessageFor(model => model.Description)
        </div>
    
        <div class="editor-label">
            Assessment Year Starts:
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.StartDate)
            @Html.ValidationMessageFor(model => model.StartDate)
        </div>
    
        <div class="editor-label">
            @Html.LabelFor(model => model.University)
        </div>
        <div class="editor-field">
            @Html.DropDownList("School", (IEnumerable<SelectListItem>)ViewBag.SchoolList)
            @Html.ValidationMessageFor(model => model.University)
        </div>
    
        <div class="editor-label">
            Degree Programs Assessed:
        </div>
        <div class="editor-field">
            @Html.TextAreaFor(model => model.DegreeProgramsAssessed, new { rows = 5, cols = 60 })
            @Html.ValidationMessageFor(model => model.DegreeProgramsAssessed)
        </div>
    
        <div class="editor-label">
            ABET Outcomes Assessed:
        </div>
        <div class="editor-field">
            @Html.TextAreaFor(model => model.ABETOutcomesAssessed, new { rows = 5, cols = 60 })
            @Html.ValidationMessageFor(model => model.ABETOutcomesAssessed)
        </div>
        
        <p>
            <input type="submit" value="Create" />
        </p>
 
}